<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h4>子级页面</h4>
    <!-- <iframe src="http://www.bilibili.com" frameborder="0"></iframe> -->

    <script>
        // document.domain = '127.0.0.1'

        console.log(window.parent.user);
    </script>

</body>
</html>